#include "svcstatusinfo.h"
#include "remotedef.h"
#include <QVariant>

SVCStatusInfo::SVCStatusInfo()
    :BaseResp()
{

}
int SVCStatusInfo::getSvcStatus() const
{
    return svc_status;
}

void SVCStatusInfo::unserialize(QString json)
{
    BaseResp::unserialize(json);
    if (m_json.isValid())
    {
        svc_status = (int)m_json.value(KEY_SVC_STATUS).toDouble();
    }
}
